turn over in one's mind

[tɚn ˈovɚ ɪn wʌnz maɪnd]
前思后想;忖;忖量;想来想去